package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.TimeCountVo;

import java.util.List;

public interface ReservationService {
    Integer cancelReservationCount();

    List<TimeCountVo> countReservationsForEachTimeWithinTimeRange(Long time);

    void insert(ReservationDto reservationDto);

    PageResponse<ReservationVo> findByPage(Integer status, Integer pageNum, Integer pageSize);

    void cancelReservation(Long id);
}
